uint8[] buf
